package com.common.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.common.domain.entity.Goods;
import com.common.domain.entity.ResponseResult;

import java.util.List;

/**
 * (Goods)表服务接口
 *
 * @author makejava
 * @since 2023-09-29 12:38:14
 */
public interface GoodsService extends IService<Goods> {

    Goods getGoodsInfo(Long id);

    ResponseResult allGoodsList(Integer pageNum, Integer pageSize, String goodsName);

    ResponseResult insertGoods(Goods goods);

    ResponseResult deleteGoods(String ids);

    ResponseResult updateGoods(Goods goods);
}
